function DSA_RenderHUD()
	draw.RoundedBoxEx(0, 0, 0, ScrW(), 20, Color(0, 0, 0, 200), false, false, false, false)
	draw.RoundedBoxEx(0, 0, 20, ScrW(), 1, Color(0, 0, 0, 255), false, false, false, false)
	
	draw.SimpleText(DSA_STR_NEWS, "ScoreboardText", 5, 2, DSA_CLR_NEWS, TEXT_ALIGN_LEFT, TEXT_ALIGN_TOP)
	draw.SimpleText(DSA_STR_RANK, "ScoreboardText", ScrW() - 5, 2, DSA_CLR_RANK, TEXT_ALIGN_RIGHT, TEXT_ALIGN_TOP)
	
	if(DSA_SHW_MENU) then
		local MENU_HEIGHT = 300
		draw.RoundedBoxEx(0, ScrW() - 300, 21, 300, MENU_HEIGHT, Color(0, 0, 0, 200), false, false, false, false)
		draw.RoundedBoxEx(0, ScrW() - 300, MENU_HEIGHT + 21, 300, 1, Color(0, 0, 0, 255), false, false, false, false)
		draw.RoundedBoxEx(0, ScrW() - 301, 21, 1, MENU_HEIGHT, Color(0, 0, 0, 255), false, false, false, false)
		
		draw.SimpleText("CONFIGURATION-SETTING", "ScoreboardText", ScrW() - 295, 30, Color(255, 255, 255, 255), TEXT_ALIGN_LEFT, TEXT_ALIGN_TOP)
		draw.SimpleText("STATUS-MODE", "ScoreboardText", ScrW() - 5, 30, Color(255, 0, 0, 255), TEXT_ALIGN_RIGHT, TEXT_ALIGN_TOP)
	end
	
	if(DSA_SHW_SPECIAL_HUD) then
		draw.RoundedBoxEx(0, 5, ScrH() - 44, 180, 39, Color(0, 0, 0, 230), false, false, false, false)
		draw.RoundedBoxEx(0, 190, ScrH() - 44 - 10, 100, 39, Color(0, 0, 0, 230), false, false, false, false)

		HP = LocalPlayer():Health()
		HPbar = math.Clamp(HP,0,100) * 1.7 
		AR = LocalPlayer():Armor()
		ARbar = math.Clamp(AR,0,100) * 1.7 
		
		mag_left = LocalPlayer():GetActiveWeapon():Clip1()
		mag_extra = LocalPlayer():GetAmmoCount(client:GetActiveWeapon():GetPrimaryAmmoType())
		--secondary = LocalPlayer():GetAmmoCount(client:GetActiveWeapon():GetSecondaryAmmoType())
		
		--if(mag_extra <= 0
		
		-- HP bar
		draw.RoundedBoxEx(0, 10, ScrH() - 39, 170, 12, Color(255, 0, 0, 50), false, false, false, false)
		draw.RoundedBoxEx(0, 10, ScrH() - 39, HPbar, 12, Color(255, 0, 0, 255), false, false, false, false)
		draw.RoundedBoxEx(0, 10, ScrH() - 39, HPbar,  6, Color(255, 255, 255, 20), false, false, false, false)
		draw.SimpleText("Health: "..HP.."%", "DefaultSmall", 15, ScrH() - 39, Color(255, 255, 255, 255), TEXT_ALIGN_LEFT, TEXT_ALIGN_TOP)
		-- Armor Bar
		draw.RoundedBoxEx(0, 10, ScrH() - 22, 170, 12, Color(0, 0, 255, 50), false, false, false, false)
		draw.RoundedBoxEx(0, 10, ScrH() - 22, ARbar, 12, Color(0, 0, 255, 255), false, false, false, false)
		draw.RoundedBoxEx(0, 10, ScrH() - 22, ARbar,  6, Color(255, 255, 255, 20), false, false, false, false)
		draw.SimpleText("Armor: "..AR.."%", "DefaultSmall", 15, ScrH() - 22, Color(255, 255, 255, 255), TEXT_ALIGN_LEFT, TEXT_ALIGN_TOP)
		-- Ammo Data
		draw.SimpleText("Ammo: "..mag_left.." | Clips: "..mag_extra.."", "DefaultSmall", 195, ScrH() - 39, Color(255, 255, 255, 255), TEXT_ALIGN_LEFT, TEXT_ALIGN_TOP)
		--draw.SimpleText("Alternative ammo: "..secondary, "DefaultSmall", 195, ScrH() - 22, Color(255, 255, 255, 255), TEXT_ALIGN_LEFT, TEXT_ALIGN_TOP)
	end
end

function DSA_ShouwDrawHud(name)
	if(DSA_SHW_SPECIAL_HUD) then
		for k, v in pairs{"CHudHealth", "CHudBattery", "CHudAmmo", "CHudSecondaryAmmo"} do
			if(name == v) then return false end
		end
	end
end

function DSA_PLY_RANK(data)
	local DATA = string.Explode(",", data:ReadString())
	DSA_STR_RANK = DATA[1]
	DSA_CLR_RANK = Color(DATA[2], DATA[3], DATA[4], DATA[5])
end